﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Cn.Cellula.Client {
    public class TxtDef {

        #region 通用的
        public const String ERROR = "错误";
        public const String INFO = "消息";
        public const String SUCCEED = "操作成功";
        public const String FAILED = "操作失败";
        public const String NoEditSelect = "请选择一条要修改的记录";
        public const String NoDelSelect = "请选择一条要删除的记录";
        public const String NoSingleSelect = "请选择一条要操作的记录";
        public const String NoMultiSelect = "请选择要操作的记录";
        public const String NoEOLoad = "没有找到相关信息";
        public const String ParmLost = "参数丢失";
        public const String DDLTextAll = "-全部-";
        public const String DDLTextEmpty = "-无-";
        public const String TRUE = "是";
        public const String FALSE = "否";
        public const String UNKNOWN = "未知";
        public const String OTHER = "其他";
        public const String NoDataFound = "没有找到相关的数据";
        #endregion



        /// <summary>
        /// 登录、注销
        /// </summary>
        public class User {
            public const String BadUsernameOrPwd = "错误的用户名或密码，请重新输入！";
            public const String PwdNotMatch = "两次输入的密码不匹配，请重新输入！";
            public const String InvalidOldPwd = "旧密码输入错误！";
            public const String SessionLost = "请先登录";
        }

        public class Category {
            public const String ROOT = "根目录";
            public const String NameExist = "分类名称以存在，请重新输入";
            public const String DDLTextEmpty = "-无分类-";
            public const String DDLValueEmpty = "0";
            public const String QUERY_ALL_CATEGORY = "所有分类";
        }
        public class Dept {
            public const String ROOT = "根节点";
            public const String NameExist = "部门名称以存在，请重新输入";
            public const String DDLTextEmpty = "-无部门-";
            public const String DDLValueEmpty = "0";
            public const String QUERY_ALL_CATEGORY = "所有部门";
        }
        public class Market {
            public const String QUERY_ALL_MARKET = "所有卖场/店铺";
        }

        public class Product {
            public const String ProductNotLoad = "没有找到产品信息";
        }

        public class Item {
            public const String NoData = "未设置...";
        }

        public class Calendar {
            public static String[] WeekDayName{
                get{return ("日|一|二|三|四|五|六").Split('|');}
                set{}
            }
        }

    }
}
